
package com.bei_en.teacher.management.model.system.vo;

import java.util.*;
import com.bei_en.teacher.management.model.system.bean.SystemResource;
import com.bei_en.teacher.management.model.BaseVo;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;

/**
 * 用于前端页面数据传递
 * 后台权限相关资源
 * @author Longqs
 * @date 2016-6-15 15:09:26
 */
public class SystemResourceVo extends BaseVo {

    private SystemResource systemResource;

    public SystemResourceVo() {

	this.systemResource = new SystemResource();
    }

    public SystemResourceVo(SystemResource systemResource) {

	this.systemResource = systemResource;
    }

    public SystemResource getSystemResource() {

	return this.systemResource;
    }

    public void setSystemResource(SystemResource systemResource) {

	this.systemResource = systemResource;
    }

    public void setId(Integer value) {

	this.systemResource.setId(value);
    }

    public Integer getId() {

	return this.systemResource.getId();
    }

    public void setName(String value) {

	this.systemResource.setName(value);
    }

    @NotBlank
    @Length(max = 100)
    public String getName() {

	return this.systemResource.getName();
    }

    public void setParId(Integer value) {

	this.systemResource.setParId(value);
    }

    @NotNull
    public Integer getParId() {

	return this.systemResource.getParId();
    }

    public void setSourceKey(String value) {

	this.systemResource.setSourceKey(value);
    }

    @NotBlank
    @Length(max = 100)
    public String getSourceKey() {

	return this.systemResource.getSourceKey();
    }

    public void setStatus(Integer value) {

	this.systemResource.setStatus(value);
    }

    @NotNull
    public Integer getStatus() {

	return this.systemResource.getStatus();
    }

    public void setComment(String value) {

	this.systemResource.setComment(value);
    }

    @Length(max = 30)
    public String getComment() {

	return this.systemResource.getComment();
    }

    public void setCreateTime(Date value) {

	this.systemResource.setCreateTime(value);
    }

    public Date getCreateTime() {

	return this.systemResource.getCreateTime();
    }

    public void setType(Integer value) {

	this.systemResource.setType(value);
    }

    @NotNull
    public Integer getType() {

	return this.systemResource.getType();
    }

    public void setUrl(String value) {

	this.systemResource.setUrl(value);
    }

    @Length(max = 100)
    public String getUrl() {

	return this.systemResource.getUrl();
    }

    public void setOrder1(Integer value) {

	this.systemResource.setOrder1(value);
    }

    @NotNull
    public Integer getOrder1() {

	return this.systemResource.getOrder1();
    }

    public void setDataToggle(String value) {

	this.systemResource.setDataToggle(value);
    }

    @NotBlank
    @Length(max = 20)
    public String getDataToggle() {

	return this.systemResource.getDataToggle();
    }

    public void setPageId(String value) {

	this.systemResource.setPageId(value);
    }

    @Length(max = 50)
    public String getPageId() {

	return this.systemResource.getPageId();
    }

    public void setFresh(Boolean value) {

	this.systemResource.setFresh(value);
    }

    public Boolean getFresh() {

	return this.systemResource.getFresh();
    }

    public void setExternal(Boolean value) {

	this.systemResource.setExternal(value);
    }

    public Boolean getExternal() {

	return this.systemResource.getExternal();
    }

}